Freemius\FS_Admin_Menu_Manager B

Total Complexity 87
Dependencies 3
Dependents 1
Total lines 994
Lines of code 365
Logical lines of code 168
Comment lines 464
Methods 35
Properties 15

Methods 35

Method Rating Maintainability Complexity Lines of code
init()
A
47 9 35
is_activation_page()
S
59 7 15
find_main_submenu()
S
52 5 26
override_submenu_action()
S
54 5 22
add_counter_to_menu_item()
S
52 4 27
override_menu_item()
S
53 4 24
find_top_level_menu()
S
54 4 22
main_menu_url()
S
57 4 17
remove_menu_item()
S
60 3 14
get_original_menu_slug()
S
62 3 12
is_submenu_item_visible()
S
63 3 11
get_bool_option()
S
77 3 3
get_first_time_path()
S
66 3 10
get_slug()
S
71 3 5
instance()
S
67 2 7
remove_all_submenu_items()
S
64 2 10
add_page_and_update()
S
60 1 15
get_top_level_menu_slug()
S
75 2 5
add_subpage_and_update()
S
60 1 15
is_cpt()
S
73 2 5
has_custom_parent()
S
79 2 3
get_option()
S
78 2 3
add_page()
S
63 1 12
get_raw_slug()
S
83 1 3
__construct()
S
69 1 6
is_main_settings_page()
S
81 1 3
get_type()
S
83 1 3
get_parent_slug()
S
83 1 3
set_slug_and_network_menu_exists_flag()
S
77 1 4
has_network_menu()
S
83 1 3
has_menu()
S
83 1 3
is_override_exact()
S
83 1 3
is_top_level()
S
83 1 3
add_subpage()
S
65 1 10
get_parent_type()
S
83 1 3